﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Globalization;
using System.Threading;

namespace Training
{
    class Program
    {
        static void Main()
        {
            CultureInfo[] allCultures = CultureInfo.GetCultures(CultureTypes.AllCultures);
            foreach (CultureInfo culture in allCultures)
            {
                //Console.WriteLine("{0}", culture.Name);
            }

            Thread.CurrentThread.CurrentCulture = new CultureInfo("bg-BG");
            DateTime dt = DateTime.Parse("27 May 2011",CultureInfo.CurrentCulture, DateTimeStyles.AllowWhiteSpaces);
            Console.WriteLine(dt);

            Console.WriteLine(DateTime.Now);
        }
    }
}
